<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/2 0002
 * Time: 下午 8:56
 */
$city=array('北京','上海','广州','其他');
$skill=array('HTML','JavaScript','PHP','C++');
$id=1;
$sql="select 'nickname','gender','email','qq','url','city','skill','description'from'userinof',where'id'=$id";
$rst=mysql_query($sql);
$data=mysql_fetch_assoc($rst);
$data['skill']=explode(',',$data['skill']);
require'profile_html.php';